package cn.sciento.farm.devicemanager.gateway.model.lorawan;

/**
 * @author wumu
 * @version V1.0
 * @date 9/20/18
 * @time 6:29 PM
 */
public class DeviceError {


    /**
     * applicationID : 123
     * applicationName : temperature-sensor
     * deviceName : garden-sensor
     * type : DATA_UP_FCNT
     * error : ...
     * fCnt : 123
     */

    private String applicationID;
    private String applicationName;
    private String deviceName;
    private String type;
    private String error;
    private Integer fCnt;

    public String getApplicationID() {
        return applicationID;
    }

    public void setApplicationID(String applicationID) {
        this.applicationID = applicationID;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Integer getfCnt() {
        return fCnt;
    }

    public void setfCnt(Integer fCnt) {
        this.fCnt = fCnt;
    }

    @Override
    public String toString() {
        return "DeviceError{" +
                "applicationID='" + applicationID + '\'' +
                ", applicationName='" + applicationName + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", type='" + type + '\'' +
                ", error='" + error + '\'' +
                ", fCnt=" + fCnt +
                '}';
    }
}
